import http from "@/utils/http";
import type { resultDataType } from "@/utils/type";



export const getQuestionStatListApi =async (
  questionId:string,
  opt:{page:number;pageSize:number}
):Promise<resultDataType> => {
  const res = await http.get(`/api/stat/${questionId}`,{params:opt})
  return res
}